<!DOCTYPE html>
<html lang="en">
    <head>
        {include file="public/header"}
    </head>
    <body>
        <div class="wrapper">
            {include file="public/nav"}
            <div id="page-wrapper">
	            <div class="col-lg-12">
	                <h1 class="page-header">添加题目</h1>
	            </div>
                <div class="col-lg-3">xfewf fwjf wlfjwlf w lwfjwlfjwlfjwlfj  fwjflj x试卷</div>
                <div class="col-lg-9">
                    <div class="select" id="select">
                        
                    </div>
                        <button class="btn btn-primary" id="submit">确定</button>

                </div>
            </div>
        </div>
        {include file="public/footer"}
        {include file="public/javascript"}
        <script type="text/javascript">
         ($.ajax({
             url : 'select.html',
             dataType : 'html',
             success : function(html){
                 $("#select").html(html);
             }
         }));
         ($("#submit").on('click',function(){
             $.ajax({
                 url : 'insertquestion.html',
                 type : "post",
                 data : $("#form").serialize(),
                 dataType : 'html',
                 success : function(html){
                     $("#select").html(html);
                 }
             });
         }));
        </script>
    </body>
</html>
